package com.xuecheng.manage_course.dao;

import com.xuecheng.framework.domain.course.Teachplan;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TeachplanRepository extends JpaRepository<Teachplan, String> {
    // 定义方法根据课程id和父结点id查询出结点列表
    List<Teachplan> findByCourseidAndParentid(String courseid, String parentId);
}
